
if (!String.prototype.padEnd) {
    String.prototype.padEnd = function (char, num) {
        return this + char.repeat(this.length > num ? 0 : num - this.length);
    };
}
